<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form>
            <h:commandButton value="Entrar" action="/neuro/index" />
        </h:form>
        Hello from Facelets
        <br />
        <h:link outcome="welcomePrimefaces" value="Primefaces welcome page" />
        <h:form>
            <h:panelGrid columns="2">
            <h:outputLabel value="Nome" for="nome"/>
            <h:inputText value="#{usuarioMB.usuario.nome}" id="nome"/>
             <h:outputLabel value="Usuario" for="usuario"/>
             <h:inputText value="#{usuarioMB.usuario.usuario}" id="usuario"/>
            <h:outputLabel value="Senha" for="senha"/>
            <h:inputText value="#{usuarioMB.usuario.senha}" id="senha"/>
            </h:panelGrid>
            <h:commandButton value="Salvar" action="#{usuarioMB.salvar}" />
        </h:form>
    </h:body>
</html>

